package DAO1;


public class TestdoCreate{
    public static void main(String args[]) throws Exception{
        Worker work = null ;
        work = new Worker() ;
        work.setEmpno(00000) ;
        work.setEname("SMILE") ;
        work.setJob("程序员 " ) ;
        work.setHiredate(new java.util.Date()) ;
        work.setSal(30000) ;
        DAOFactory.getIWorkerDAOInstance().doCreate(work) ;
    }
}